<?php
require_once 'modelAbstract.php';

class AvatarModel extends AbstractModel {
	private $_userID;
	private $_resourceID;
	private $_isDefault = 0;

	public function __construct() {
		//constructor
	}
	
	public function getUserID() {
		return $this->_userID;
	}
	
	public function getResourceID() {
		return $this->_resourceID;
	}
	
	public function setUserID($val) {
		$this->_userID = $val;
	}
	
	public function setResourceID($val) {
		$this->_resourceID = $val;
	}
	
	public function setDefault($val) {
		$this->_isDefault = $val;
	}
	
	public function isDefault() {
		return $this->_isDefault != 0;
	}
} 
?>